package com.gjy.minio.domain;

import lombok.Data;

import java.io.Serializable;

/**
 * @author 宫静雨
 * @version 1.0
 * @since 2023-09-04 20:36:23
 */
@Data
public class FileInfo implements Serializable {

    private String name;

    private String url;

    public FileInfo() {
    }

    public FileInfo(String name, String url) {
        this.name = name;
        this.url = url;
    }

    public static FileInfo empty() {
        return new FileInfo("", "");
    }
}
